import request from '@/utils/request'

//产线包含的工位
export function siteListOfPro(query) {
  return request({
    url: '/mes/site_mon/list',
    method: 'get',
    params: query
  })

}

export function siteState(gw) {
  return request({
    url: '/mes/site_mon/state/'+gw,
    method: 'get'
  })

}
